﻿// Copyright © Microsoft Corporation.  All Rights Reserved.
// This code released under the terms of the 
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)

using System.Windows;
using Microsoft.Phone.Controls;

namespace FeatureOverview.Features.Tasks
{
    public partial class EmailComposeTask : PhoneApplicationPage
    {
        public EmailComposeTask()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Microsoft.Phone.Tasks.EmailComposeTask 
                email = new Microsoft.Phone.Tasks.EmailComposeTask();
            email.Body = "Hallo Leute, wie gehts";
            email.To = "Dennis.sasse@microsoft.com";
            email.Subject = "Tasks to do";
            email.Show();
        }
    }
}